package cn.shujuhai.cms.domain;

import cn.shujuhai.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName struct_param
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "struct_param")
@Data
public class StructParam extends BaseDomain {
    /**
     * 结构项Id
     */
    @TableId(value = "struct_param_id", type = IdType.AUTO)
    private Long structParamId;

    /**
     * 结构Id
     */
    @TableField(value = "struct_id")
    private Long structId;

    /**
     * 文本类型
     */
    @TableField(value = "type_id")
    private Long typeId;

    /**
     * 中文名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 英文名称
     */
    @TableField(value = "name_en")
    private String nameEn;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Long sort;

}